package com.lightboat.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lightboat.system.domain.CrmUserFollowRelation;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户跟进关系Mapper接口
 * 
 * @author lightboat
 * @date 2025-08-22
 */
@Mapper
@Repository
public interface CrmUserFollowRelationMapper extends BaseMapper<CrmUserFollowRelation>{

    /**
     * 查询用户跟进关系列表
     * 
     * @param crmUserFollowRelation 用户跟进关系
     * @return 用户跟进关系集合
     */
    public List<CrmUserFollowRelation> selectCrmUserFollowRelationList(CrmUserFollowRelation crmUserFollowRelation);

    /**
     * 删除用户跟进关系
     * 
     * @param id 用户跟进关系主键
     * @return 结果
     */
    public int deleteCrmUserFollowRelationById(Long id);

    /**
     * 批量删除用户跟进关系
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCrmUserFollowRelationByIds(Long[] ids);
}
